<template>
  <div class="about">
    <h1>关于旅行日记</h1>
    <div class="content">
      <p>这是一个用于记录旅行经历的应用，让你能够保存美好的回忆。</p>
      <ul>
        <li>📝 记录旅行日记</li>
        <li>📸 上传旅行照片</li>
        <li>🗺️ 标记旅行地点</li>
        <li>📅 管理旅行计划</li>
      </ul>
    </div>
    <router-link to="/" class="btn">返回首页</router-link>
  </div>
</template>

<script setup>
import { onMounted } from 'vue'

onMounted(() => {
  console.log('关于页面组件已挂载')
})
</script>

<style scoped>
.about {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

h1 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 2rem;
}

.content {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.content p {
  color: #495057;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  padding: 0.5rem 0;
  color: #495057;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #6c757d;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #5a6268;
}
</style>
